package com.sdy.po;

import java.io.Serializable;
import java.util.List;

public class Menu implements Serializable {

    private Integer id;
    private String name;
    private String urle;
    private String whiteImage;
    private String blackImage;
    private Authority authority;

    public Menu(Integer id, String name, String urle, String whiteImage, String blackImage, Authority authority) {
        this.id = id;
        this.name = name;
        this.urle = urle;
        this.whiteImage = whiteImage;
        this.blackImage = blackImage;
        this.authority = authority;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", urle='" + urle + '\'' +
                ", whiteImage='" + whiteImage + '\'' +
                ", blackImage='" + blackImage + '\'' +
                ", authority=" + authority +
                '}';
    }

    public Authority getAuthority() {
        return authority;
    }

    public void setAuthority(Authority authority) {
        this.authority = authority;
    }

    public Menu() {
    }

    public Menu(Integer id, String name, String urle, String whiteImage, String blackImage) {
        this.id = id;
        this.name = name;
        this.urle = urle;
        this.whiteImage = whiteImage;
        this.blackImage = blackImage;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrle() {
        return urle;
    }

    public void setUrle(String urle) {
        this.urle = urle;
    }

    public String getWhiteImage() {
        return whiteImage;
    }

    public void setWhiteImage(String whiteImage) {
        this.whiteImage = whiteImage;
    }

    public String getBlackImage() {
        return blackImage;
    }

    public void setBlackImage(String blackImage) {
        this.blackImage = blackImage;
    }

}
